<?php

/**
 * Server-side upload demo script.
 * 
 * Note: the server should return JSON text containing
 * the result of upload process with text/html Content-Type header.
 * 
 * The only required field is 'status'. If status is 'OK' then client-side
 * will treat response as successful. Otherwise the client will check 'message'
 * field of response and the result will be treated as an error.
 */

header('Content-Type: text/html');
echo "{ 'status' : 'OK' }";
exit;